<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<script>
	var num =10;
	fun();
	function fun(){
		console.log(num);
		var num =20;
	}
	</script>

<body>
</body>
</html>
